#define _CRT_SECURE_NO_WARNINGS 1

#include "heap.h"

void test()
{

	int arr[] = { 1,5,4,8,9,10,3,7,2, 6 };

	HeapSort(arr, sizeof(arr)/sizeof(int));
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", arr[i]);
	}
}
int main()
{
	test();
	return 0;
}